﻿@model RIS.TMP.WEB.APP.Models.CFBranch

@{
    ViewBag.Title = "Create";
}
@section Settings{
<h2 class="sub-header">เพิ่มข้อมูลสาขา</h2>

@using (Html.BeginForm()) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)
    <fieldset>
        <hr>
        <div class="control-label">
            @Html.Label("ชื่อสาขา")
        </div>
        <div class="controls">
            @Html.EditorFor(model => model.BrName)
            @Html.ValidationMessageFor(model => model.BrName)
        </div>

        <div class="control-label">
            @Html.Label("เพิ่มเติม")
        </div>
        <div class="controls">
            @Html.EditorFor(model => model.Remarks)
            @Html.ValidationMessageFor(model => model.Remarks)
        </div>
        <hr/>
        <p>
            <input type="submit" class="btn btn-primary" value="บันทึก" />
            @Html.ActionLink("กลับไปยังรายการ", "Index", new object { }, new { @class = "btn btn-primary" })
        </p>
    </fieldset>
}
    }
@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
    <script type="text/javascript">
        $(".AF").show();
    </script>

}
